//
//  ViewController.m
//  06-轮播图
//
//  Created by dllo on 16/7/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ViewController.h"
#import "SYCycleImages.h"

#define kScreenWidth     [UIScreen mainScreen].bounds.size.width
#define kScreenHeight    [UIScreen mainScreen].bounds..size.height
#define kScreenBounds    [UIScreen mainScreen].bounds
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    NSArray *array = @[@"0",@"1",@"2",@"3",@"4"];
    
    SYCycleImages *cycle = [[SYCycleImages alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 200)];
    [cycle setImagesWithArray:array];
    
    [self.view addSubview:cycle];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
